﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Best.SmartCms.Domain.Common;

namespace Best.SmartCms.Domain
{
    [Table("AlipaySetting")]
    public class AlipaySetting:BaseDomain
    {
        /// <summary>
        /// 发起请求的应用APPID
        /// </summary>
        [StringLength(50)]
        public string AppId { get; set; }
        /// <summary>
        /// 支付宝网关
        /// </summary>
        [StringLength(100)]
        public string GatewayUrl { get; set; }
        /// <summary>
        /// 商家私钥
        /// </summary>
        [StringLength(500)]
        public string MerchantPrivateKey { get; set; }
        /// <summary>
        /// 支付宝公钥
        /// </summary>
        [StringLength(500)]
        public string AlipayPublicKey { get; set; }
        /// <summary>
        /// 服务器异步通知页面路径
        /// </summary>
        [StringLength(100)]
        public string NotifyUrl { get; set; }
        /// <summary>
        /// 页面跳转同步通知页面路径
        /// </summary>
        [StringLength(100)]
        public string ReturnUrl { get; set; }
        /// <summary>
        /// 签名方式
        /// </summary>
        [StringLength(50)]
        public string SignType { get; set; }
        /// <summary>
        /// 商户UID
        /// </summary>
        [StringLength(50)]
        public string SellerId { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        [StringLength(50)]
        public string Charset { get; set; }
        /// <summary>
        /// 合作伙伴身份（PID）
        /// </summary>
        [StringLength(50)]
        public string Pid { get; set; }
        /// <summary>
        /// MD5密钥
        /// </summary>
        [StringLength(200)]
        public string Md5Key { get; set; }
        /// <summary>
        /// 合作伙伴支付宝公钥
        /// </summary>
        [StringLength(500)]
        public string AliPayHzhbPublicKey { get; set; }
        /// <summary>
        /// 合作伙伴商家宝密钥
        /// </summary>
        [StringLength(500)]
        public string AliPayHzhbPrivateKey { get; set; }
      
    }
}
